﻿using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;

namespace Demo.NotificationManager.Contracts.Services.Notifications.Dtos;

public class NotificationCreateDto:EntityDto<Guid>
{
    /// <summary>
    /// 接受着用户ID
    /// </summary>
    public Guid ReceiverId { get; set; }

    /// <summary>
    /// 标题
    /// </summary>
    [StringLength(128)]
    public string Title { get; set; }
    
    /// <summary>
    /// 内容
    /// </summary>
    public string Content { get; set; }

    /// <summary>
    /// 是否已读
    /// </summary>
    public bool IsRead { get; set; }
}